package com.kgcx.organization.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_organization_driver_census")
public class DriverCensus extends BaseDomain {

    /**
     * 机动车驾驶证号
     */
    @ApiModelProperty(example = "ZXBUUANNQ99912")
    private String licenseId;

    @ApiModelProperty(value = "注册地行政区划代码", required = true, example = "ZXBUUANNQ99912")
    private String address;
    
    /**
     * 统计周期
     */
    @ApiModelProperty(example = "1511248354000")
    private Timestamp cycle;
    /**
     * 完成订单次数
     */
    @ApiModelProperty(example = "100")
    private Long orderCount;
    /**
     * 交通违章次数
     */
    @ApiModelProperty(example = "120")
    private Long trafficViolationCount;
    /**
     * 被投诉次数
     */
    @ApiModelProperty(example = "10")
    private Long complainedCount;

}